package com.itheima.io.writer.demo02;

import java.io.FileWriter;
import java.io.IOException;
import java.io.Writer;

public class WriterDemo01 {

    public static void main(String[] args) throws IOException {

        Writer writer = new FileWriter("itheima-io-writer\\b.txt");

        char[] chs = {'a', 'b', 'c', 'd'};
        writer.write(chs);
        writer.write("\r\n");

        writer.write("中国你好");

        writer.close();

    }

}
